SGGetMode
The SGGetMode function returns the mode for a sequence grabber component.
pascal ComponentResult SGGetMode (
SeqGrabComponent s,
Boolean *previewMode,
Boolean *recordMode);
-
s
-
Specifies the component instance that identifies your connection to the sequence grabber component. You obtain this value from the Component Manager's
OpenDefaultComponent
or
OpenComponent
function.
-
previewMode
-
Contains a pointer to a Boolean. The sequence grabber component sets this field to
true
if the component is in preview mode.
-
recordMode
-
Contains a pointer to a Boolean. The sequence grabber component sets this field to
true
if the component is in record mode.
DISCUSSION
The
SGGetMode
function provides a convenient mechanism for determining whether a sequence grabber component is in preview mode or record mode.